package com.ctshk.rpc.workflow.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 审批步骤配置
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-25
 */
@Data
@ApiModel(description="审批步骤配置")
public class ApprovalSettingStepDTO implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "第几步骤")
    private Integer step;

    @ApiModelProperty(value = "步骤名称")
    private String stepName;

    @ApiModelProperty(value = "是否动态设置审批人")
    private Boolean isDynamic;

    @ApiModelProperty(value = "条件设置")
    private ApprovalSettingConditionDTO condition;

    @ApiModelProperty(value = "主审批人设置")
    private ApprovalSettingMemberDTO masterMember;

    @ApiModelProperty(value = "副审批人设置")
    private ApprovalSettingMemberDTO slaveMember;

}
